Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
azure-pipelines-task-lib
Advanced tools
Libraries for writing Azure Pipelines tasks
Reference examples of our in the box tasks are here
Cross platform tasks are written in TypeScript. It is the preferred way to write tasks once.
Step by Step: Create Task
Documentation: TypeScript API, task JSON schema
Guidance: Finding Files, Minimum agent version, Proxy, Certificate
Azure DevOps is currently working to establish Node 10 as the new preferred runtime for tasks, upgrading from Node 6.
Relevant work is happening in the master
branch and the major version should be used with Node 10 is 3.
Previous major version is stored in the releases/2.x
Upgrading your tasks from Node 6 should be relatively painless, however there are some things to note:
fs
between Node 6 and Node 10. It is worth reviewing and testing your tasks thoroughly before publishing updates to Node 10.The ShellScript Task and the XCode Task are good examples.
We are accepting contributions and we try to stay on top of issues.
Once:
$ cd node
$ npm install
Build and Test:
$ npm test
Set environment variable TASK_TEST_TRACE=1 to display test output.
We also maintain a PowerShell library for Windows task development.
Library: Powershell Library
Usage: Consuming the SDK
To generate/update third party notice file run:
$ node generate-third-party-notice.js
FAQs
Azure Pipelines Task SDK
The npm package azure-pipelines-task-lib receives a total of 11,467 weekly downloads. As such, azure-pipelines-task-lib popularity was classified as popular.
We found that azure-pipelines-task-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.